/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rootfinder;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author Administrator
 */
@Entity
@Table(name = "host_candidate")
public class HostCandidate implements Serializable {

    @Id
    private String ip;
    private String status;
    private String message;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public HostCandidate() {
        ip = RandomIpGenerator.generateIp();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIp() {
        return ip;
    }
}
